package com.utils;

import java.util.Random;

public class GenarateNumbers {
	
	private GenarateNumbers(){}
	
	private static Random RANDOM; 
	private static int TMP;
	
	
	static{
		RANDOM = new Random();
		
		TMP = 0;
	}
	
	public static int NextInt(final int min, final int max)
	{

		TMP = Math.abs(RANDOM.nextInt());
	    return TMP % (max - min + 1) + min;
	    
	}
	
}
